You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Math387.FixAngle Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.FixAngle Method

Sets angle in [-2Pi,2Pi].

Syntax
C#
Visual Basic
public static double FixAngle([In] double ThetaRad);

ThetaRad within [-2Pi,2Pi] interval.

Calling this function prior to passing the value to trigonometric functions can significantly improve numerical accuracy.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!